<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../../common/tag.jsp"%>
<html>
<head>
<title>粉丝概览</title>
<%@ include file="../../common/header.jsp"%>
<link href="${ctx }/css/plugins/bootstrap-table/bootstrap-table.min.css"
	rel="stylesheet">
<link href="${ctx }/css/plugins/validator/validator.css"
	rel="stylesheet">
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeIn">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-title">
						<h5>粉丝概览</h5>
						<div class="ibox-tools">
						</div>
					</div>
				</div>

					<div class="ibox float-e-margins" id="tableShow">
						<div class="ibox-content">
							<div class="row row-lg">
								<div class="col-sm-12">
									<!-- Example Events -->
									<div class="example-wrap">
										<div class="btn-group hidden-xs" id="tableEventsToolbar"
											role="group">
											<form role="form" id="queryForm" class="form-inline">
												<div class="form-group">
												<label class="col-sm-3 control-label">选择标签:</label>
													<div class="col-sm-2">
														<select class="form-control"  data-placeholder="标签名称" name="tagId" style="width: 250px;">
														<option value=""></option>
														<option value="">全部标签</option>
														<c:forEach items="${list}" var="region">
															<option value="${region.id }"
																<c:if test="${map.tagId ==region.id}">selected</c:if>>${region.tagName }</option>
														</c:forEach>
														</select>
													</div>
												</div>
												<div class="input-group">
													<button class="btn btn-primary" type="button" style="margin-bottom: 0px;" onclick="search();">
														<i class="fa fa-search"></i>&nbsp;查询
													</button>
												</div>
												<div class="input-group">
												<button type="button" class="btn btn-primary"
													id="btnSyncFans" style="margin-bottom: 0px;">
													<i class="fa fa-sun-o"></i>&nbsp;同步粉丝数据
												</button>
												（建议晚上同步数据，以免影响正常业务）
												</div>
											</form>


										</div>
										<table id="ProductInfoListTable" data-mobile-responsive="true"
											data-click-to-select="true" data-unique-id="id">

										</table>
									</div>
								</div>
								<!-- End Example Events -->
							</div>
						</div>
					</div>


				</div>




			</div>

		</div>
	

	<div id="replyModal" class="modal fade">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-hidden="true">&times;</button>
					<h4 id="replyH4" class="modal-title">回复</h4>
				</div>
				<div></div>
				<div class="modal-body">
					<div class="row">
						<div class="col-md-12">
							<div class="panel-chat well" id="replyDiv"></div>
							<form id="formReply" class="form-horizontal" method="post"
								action="${ctx }/weixin/saveFansMsgReply" role="form">
								<div class="form-group">
									<div class="input-group">
										<input class="form-control" id="content" name="content"
											placeholder="Enter your message here" type="text" /> <span
											class="input-group-btn">
											<button type="button" class="btn btn-primary"
												id="btnReplyMsg">
												<i class="fa fa-comments-o"></i>&nbsp;
											</button>
										</span> <input type="hidden" name="fansMsgId" />
									</div>
								</div>
							</form>
						</div>
					</div>
				</div>
				<div class="modal-footer"></div>
			</div>
			<!-- /.modal-content -->
		</div>
		<!-- /.modal-dialog -->
	</div>


</body>
</html>

<%@ include file="../../common/footer.jsp"%>
<script src="${ctx }/js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script
	src="${ctx }/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
<script
	src="${ctx }/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
<!--下拉框-->
<script src="${ctx }/js/plugins/chosen/chosen.jquery.js"></script>

<script src="${ctx }/js/plugins/validator/validator.js"></script>
<script src="${ctx }/js/plugins/layer/layer.js"></script>
<script src="${ctx }/js/view/weixin/fansList.js"></script>
